{% extends "aenclave/songlist_base.html" %}
{% load humanize %}

{% block title %}{{block.super}} Search Results{% endblock %}

{% block header %}Search Results{% endblock %}

{% block presonglist %}
  {% if search_query %}
    {% if song_list %}
      <p>Found {{song_list|length|apnumber|intcomma}} result{{song_list|length|pluralize}} for &ldquo;{{search_query|escape}}&rdquo;</p>
    {% else %}
      <p>No results were found for &ldquo;{{search_query|escape}}&rdquo;</p>
    {% endif %}
  {% else %}
    <p>No search query was given.</p>
  {% endif %}
{% endblock %}
